package com.htu.courseService.Talk.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.htu.courseService.Talk.vo.TalkFileDto;
import com.htu.courseService.Talk.vo.TalkInfoDto;
import com.htu.courseService.Talk.vo.TalkListDto;
import com.htu.courseService.Talk.vo.TalkQuery;
import org.springframework.web.multipart.MultipartFile;

public interface TalkInfoService {
    TalkFileDto uploadFile(MultipartFile file);

    void add(TalkInfoDto talkInfoDto);

    IPage<TalkListDto> list(TalkQuery talkQuery);

    TalkInfoDto getTalkDetail(Integer id);

    IPage<TalkListDto> getMyTalkList(TalkQuery talkQuery);

    IPage<TalkListDto> getMyCommentList(TalkQuery talkQuery);
}
